<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Away3D + Bullet Physics</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le styles -->
    <link href="bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
    <link href="bootstrap/css/docs.css" rel="stylesheet">
    <link href="bootstrap/js/google-code-prettify/prettify.css" rel="stylesheet">

    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
    swfobject.registerObject("away3dswf", "11.3.0", "expressInstall.swf");
 </script>
</head>
  <body data-spy="scroll" data-target=".subnav" data-offset="50">
    <div class="container">
      <section id="content">
        <div class="page-header">
          <h1>Away3D + Bullet Physics</h1>
        </div>
        <div>
          <object id="away3dswf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1024" height="768">
            <param name="movie" value="BulletPhysicsTest.swf" />
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="BulletPhysicsTest.swf" width="1024" height="768">
            <!--<![endif]-->
              <param name="wmode" value="direct" />
              <param name="allowScriptAccess" value="sameDomain" />
              <param name="bgcolor" value="CCCCCC" /> 
              <div>
                <h1>You need to update flash:</h1>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
              </div>
            <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
        </div>
      </section>
    </div>

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>
    <script src="assets/js/bootstrap-tab.js"></script>

    <script>
      $.ajax({
        url: "game.lua",
        dataType: "text",
        success: function(data) {
          document.getElementById("codeeditor1").value = data;
        },
      });
      $.ajax({
        url: "game2.lua",
        dataType: "text",
        success: function(data) {
          document.getElementById("codeeditor2").value = data;
        },
      });
    </script>
  </body>
</html>